@echo off

if "%BASEPATH%" == "" (
   if "%1"=="" (
      set BASEPATH=.
   ) else (
      set BASEPATH=%1
   )
)

copy /Y %BASEPATH%\ru\arriah\servicedesk\web\admin\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\admin\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\chief\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\chief\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\client\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\client\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\dispatcher\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\dispatcher\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\executor\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\executor\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\leadExecutor\action\mapping.properties %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\leadExecutor\action\mapping.properties
copy /Y %BASEPATH%\ru\arriah\servicedesk\web\commonjsp\images\*.* /B %BASEPATH%\..\..\build\ru\arriah\servicedesk\web\commonjsp\images\